<%--
  Created by IntelliJ IDEA.
  User: calm
  Date: 2020-03-27
  Time: 10:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>测试Rest风格</title>
</head>
<body>
<a href="/testRESTGet/1001"> GET请求</a>
<hr>
<form action="/testRESTPost" method="post">
    <input name="id">
    <input type="submit" value="POST请求">
</form>

<hr>
<form action="/testRESTPut/1002" method="post">
    <input type="hidden" name="_method" value="PUT">
    <input type="submit" value="PUT请求">
</form>

<hr>
<form action="/testRESTDelete/1003" method="post">
    <input type="hidden" name="_method" value="DELETE">
    <input type="submit" value="DELETE请求">
</form>
</body>
</html>
